package com.itheima.ExtendsDemo;

public  abstract class Animals {
    String name="Animal";
    public abstract void eat();
    public  void sleep(){
        System.out.println("父类非静态");
    }
    public static void play(){
        System.out.println("父类静态");
    }
}
